package com.alan.swagger2.mail;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Auther: Alan liu
 * @Date: 2018/9/29 15:39
 * @Description: mail
 */
@Component
@ConfigurationProperties(prefix = "mail")
@Data
public class UserMailProperties {
    private String from;
    private String to;
}
